GrapeCity.ActiveReports.v12 アセンブリ > GrapeCity.Enterprise.Data.DataEngine.Extensions 名前空間 > FunctionalExtensions.MatchBlock<T,TResult> クラス > When メソッド : When<TExpected>(Predicate<TExpected>,Func<TExpected,TResult>) メソッド |
'宣言 Public Overloads Function When(Of TExpected As T)( _ ByVal guardCondition As Predicate(Of TExpected), _ ByVal func As Func(Of TExpected,TResult) _ ) As FunctionalExtensions.MatchBlock(Of T,TResult)
public FunctionalExtensions.MatchBlock<T,TResult> When<TExpected>( Predicate<TExpected> guardCondition, Func<TExpected,TResult> func ) where TExpected: T